﻿#!/usr/bin/python
# -*- encoding: utf-8 -*-
'''
@File    : CuiAboutAuthor.py
@Desc    : 
@Version : 1.0
@Author  : echohelper 
@Email   : echohelper@qq.com
@WebSite : www.github.com/echohelper
@Time    : 2021/09/23 17:58:16
'''
# Start typing your code from here

import sys

from PyQt5 import QtCore, QtGui, QtWidgets

from module.childui.ICuiBase import ICuiBase
from module.demo.StringGjWidget import StringGjWidget


class CuiAboutAuthor(ICuiBase, object):
    cuiWidget = StringGjWidget()

    def __new__(cls):
        if not hasattr(cls, 'instance'):
            cls.instance = super(CuiAboutAuthor, cls).__new__(cls)
        return cls.instance

    def __init__(self):
        super().__init__()

    def getWidget(self)->QtWidgets.QWidget:
        return self.cuiWidget
